import request from '@/plugins/axios'
let apiPrefix = "/content";
/**
 * 获取各学科信息
 * @param query
 */
export function getCategoryData (query) {
    return request({
        url: apiPrefix + '/category',
        method: 'get',
        params: query
    })
}
/**
 * 获取各模块列表数据
 * @param query
 */
export function getPageData (query) {
    return request({
        url: apiPrefix + '/page',
        method: 'get',
        params: query
    })
}

/**
 * 获取各模块列表数据
 * @param query
 */
export function getMost (query) {
    return request({
        url: apiPrefix + '/most',
        method: 'get',
        params: query
    })
}
